﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Seemile.Model
{
    ////////////////////////////////////////////////////////////////
    /// File:        UsersInfo
    /// Author:      LonelyShadow
    /// Description: Users实体类
    /// CreateDate:  2014/8/6
    ////////////////////////////////////////////////////////////////
    [Serializable]
    public class UsersInfo
    {
        #region // UsersInfo 的私有成员 [2014/8/6]
        private int _UserId; 	 // 用户编号
        private string _Username; 	 // 用户姓名
        private string _Password; 	 // 用户密码
        private string _Email; 	 // 用户邮箱
        private string _Job; 	 // 用户职业
        private string _Telephone; 	 // 用户联系方式
        #endregion

        #region // UsersInfo 的封装属性 [2014/8/6]
        /// <summary> 
        /// 用户编号
        /// </summary> 
        public int UserId
        {
            get { return this._UserId; }
            set { this._UserId = value; }
        }
        /// <summary> 
        /// 用户姓名
        /// </summary> 
        public string Username
        {
            get { return this._Username; }
            set { this._Username = value; }
        }
        /// <summary> 
        /// 用户密码
        /// </summary> 
        public string Password
        {
            get { return this._Password; }
            set { this._Password = value; }
        }
        /// <summary> 
        /// 用户邮箱
        /// </summary> 
        public string Email
        {
            get { return this._Email; }
            set { this._Email = value; }
        }
        /// <summary> 
        /// 用户职业
        /// </summary> 
        public string Job
        {
            get { return this._Job; }
            set { this._Job = value; }
        }
        /// <summary> 
        /// 用户联系方式
        /// </summary> 
        public string Telephone
        {
            get { return this._Telephone; }
            set { this._Telephone = value; }
        }

        #endregion

        #region // UsersInfo 的构造函数 [2014/8/6]
        public UsersInfo() { }

        public UsersInfo(int _UserId, string _Username, string _Password, string _Email, string _Job, string _Telephone)
        {
            this._UserId = _UserId;
            this._Username = _Username;
            this._Password = _Password;
            this._Email = _Email;
            this._Job = _Job;
            this._Telephone = _Telephone;
        }
        #endregion
    }
}
